package com.zgjkhis.modules.member.domain;

import com.baomidou.mybatisplus.annotation.FieldFill;
import com.baomidou.mybatisplus.annotation.TableField;
import com.baomidou.mybatisplus.annotation.TableId;
import com.baomidou.mybatisplus.annotation.TableName;
import com.fasterxml.jackson.annotation.JsonFormat;
import io.swagger.annotations.ApiModelProperty;
import lombok.Data;

import java.io.Serializable;
import java.util.Date;

/**
 * @Author yzq
 * @Description 会员表
 * @Date 2021/9/3 9:54
 * @Param
 * @return
 **/
@Data
@TableName("his_member")
public class Member implements Serializable {
    @TableId
    private Long id;
    @ApiModelProperty(value = "会员名称")
    private String memberName;
    @ApiModelProperty(value = "检验折扣率")
    private Integer inspectionDiscount;
    @ApiModelProperty(value = "检查折扣率")
    private Integer checkDiscount;
    @ApiModelProperty(value = "治疗医嘱折扣率")
    private Integer treatmentOrderDiscount;
    @ApiModelProperty(value = "处方医嘱折扣率")
    private Integer prescriptionOrderDiscount;
    @ApiModelProperty(value = "诊疗折扣率")
    private Integer diagnosisTreatmentDiscount;
    @ApiModelProperty(value = "材料费折扣率")
    private Integer materialCostDiscount;
    @ApiModelProperty(value = "其他费用折扣率")
    private Integer otherExpensesDiscount;
    @ApiModelProperty(value = "药房id")
    private String pharmacyId;
    @ApiModelProperty(value = "状态：0：生效，1：无效")
    private Integer status;
    /** 创建时间 */
    @TableField(fill= FieldFill.INSERT)
    @ApiModelProperty(value = "创建时间")
    @JsonFormat(pattern = "yyyy-MM-dd HH:mm:ss",timezone="GMT+8")
    private Date createTime;

}
